'use strict';
exports = module.exports = function($scope, $timeout) {
    $scope.required = true;
    //////////////////////////////////////
    $scope.readonly = true;
    //////////////////////////////////////
    $scope.arr01 = Array(10)
    //////////////////////////////////////
    var x = 3.5
    $scope.arr11 = Array(Math.floor(x))
    $scope.arr12 = parseInt(x) != parseFloat(x)
    $scope.arr13 = Array(5-Math.ceil(x))
    //////////////////////////////////////
    $scope.renderFlag = false
    $scope.renderFinish = function(){
        $scope.renderFlag = true
    }
    //////////////////////////////////////
    $scope.arr14 = [
        {name:'kimi',age:3},
        {name:'cindy',age:4},
        {name:'anglar',age:4},
        {name:'shitou',age:6},
        {name:'tiantian',age:5}
    ];
    //////////////////////////////////////
    $scope.xx1 = 'red';
    $scope.xx2 = 'blue';
    $scope.dd3 = 'kimi,cindy';
    $scope.myStyle3 = 14;
    //////////////////////////////////////
    $scope.testa = false;
    $scope.testb = false;
    $scope.testc = false;
    $scope.obj = {test: false};
    //////////////////////////////////////
    $scope.user24 = {a:false,b:false}
    $scope.o66 = function(){
        if( $scope.user24.b ) $scope.user24.a = !$scope.user24.a
        else{ alert('无权') }
    }
    //////////////////////////////////////
    $scope.arr55 = [
        {time:1, data:[
            {name:'kimi',age:3},
            {name:'cindy',age:4},
            {name:'anglar',age:4},
            {name:'shitou',age:6},
            {name:'tiantian',age:5}
        ]},
        {time:2, data:[
            {name:'kimi',age:3},
            {name:'cindy',age:4},
            {name:'anglar',age:4},
            {name:'shitou',age:6},
            {name:'tiantian',age:5}
        ]}
    ];
}